//
//  GLGWView.h
//  GLGW_Shoping
//
//  Created by yang on 2018/11/8.
//  Copyright © 2018年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface GLGWView : UIView
-(id)initWithInSuperView:(UIView *)aSuperView;
- (id)initWithFrame:(CGRect)aFrame
        inSuperView:(UIView *)aSuperView;

/**
 增加阴影

 @param s_fot 阴影大小
 @param c_Radius 半圆大小
 */
-(void)setViewShadowWidth:(CGFloat)s_fot
          theCornerRadius:(CGFloat)c_Radius;

/**
 一个或多个角半圆

 @param cornerRadius 半圆大小
 @param borderWidth 边框宽度
 @param borderColor i边框颜色
 @param corners 那个角增加半圆
 */
- (void)setBorderWithCornerRadius:(CGFloat)cornerRadius
                      borderWidth:(CGFloat)borderWidth
                      borderColor:(UIColor *)borderColor
                             type:(UIRectCorner)corners;
@end

NS_ASSUME_NONNULL_END
